Component({
    externalClasses: [ "box-custom" ],
    properties: {
        icons: {
            type: Object,
            value: {}
        },
        content: String,
        confirmText: {
            type: String,
            value: "我知道了"
        },
        subText: {
            type: String,
            value: "去看看"
        }
    },
    data: {
        isShown: !1
    },
    methods: {
        show: function() {
            this.setData({
                isShown: !0
            });
        },
        hide: function() {
            this.setData({
                isShown: !1
            });
        },
        confirm: function() {
            this.hide(), this.triggerEvent("confirm");
        },
        subConfirm: function() {
            this.hide(), this.triggerEvent("sub");
        }
    }
});